/* 统一使用的宽度 */
:root {
	/* 变量宽度 */
	--totalWid: 100%;
	--themeColor: #13beff;
}

html,
body {
	/* 使用统一变量宽度的方式 */
	width: var(--totalWid);
}
/* 头部 */
header {
	top: 0;
	left: 0;
	z-index: 40;
	padding: 0 20px;
	width: 100%;
	height: 66px;
	/* 使用统一变量的背景色 */
	/* background-color: var(--themeColor); */
	border: 1px solid #9bbbea;
}
/* logo图 */
header > a {
	display: block;
	width: 138px;
	height: 66px;
}
header > a h1 {
	margin: 0;
	height: 66px;
	background: url(../imgs/api-new-logo-white.png) no-repeat center;
}
/* 导航列表 */
header > ul {
	display: flex;
	height: 66px;
	line-height: 66px;
}
header ul li {
	text-align: center;
	width: 60px;
	margin: 0 10px;
}
header ul li a {
	color: #000;
}
header ul li.active {
	border-bottom: 2px solid var(--themeColor);
}
header ul li.active a {
	color: var(--themeColor);
}
/* 登录按钮 */
header > div {
	display: flex;
	width: 120px;
	align-items: center;
	justify-content: space-between;
}
header > div span {
	display: inline-block;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 10px;
}
header > div span:first-child {
	border: 1px solid #99a4b3;
}
header > div span:last-child {
	background-color: #ed510a;
}
/* 主体 */
/* main {
	测试高度
	height: 800px;
	background-color: #ed510a;
} */

/* 上面API分类 */
#apiClassify {
	height: 260px;
	background-color: #fff;
}
#apiClassify ul {
	flex-wrap: wrap;
}
#apiClassify ul li {
	/* margin: 4px 10px; */
	margin-right: 16px;
	margin-bottom: 10px;
}
#apiClassify ul a {
	box-sizing: border-box;
	padding: 8px 12px;
	display: block;
	color: #99a4b3;
	border-radius: 10px;
	border: 1px solid #99a4b3;
}
#apiClassify ul li.active a {
	color: var(--themeColor);
	border: 1px solid var(--themeColor);
}
#apiClassify input {
	padding: 8px 16px;
	border-radius: 16px;
	border: none;
	outline: none;
	background-color: #f4f4f4;
}
/* 下面分类卡片区 */
#apiCards {
	width: 100%;
}
#apiCardsList {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

#apiCardsList li {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	margin-bottom: 10px;
	width: 224px;
	height: 270px;
	border: 1px solid #99a4b3;
	overflow: hidden;
}
#apiCardsList li p:nth-child(2) {
	line-height: 44px;
	font-size: 12px;
}
#apiCardsList li p:nth-child(3) {
	line-height: 24px;
	font-size: 14px;
	/* color: #3dc592; */
}
#apiCardsList > li span {
	top: 10px;
	left: 10px;
	padding: 4px 8px;
	font-size: 12px;
	background-color: #e5f8ff;
	color: var(--themeColor);
}
#apiCardsList > li a {
	left: 50%;
	bottom: -40px;
	transform: translate(-50%);
	width: 180px;
	line-height: 30px;
	text-align: center;
	background-color: var(--themeColor);
	font-size: 12px;
	color: #fff;
	transition: all 0.8s;
}
#apiCardsList li:hover {
	box-shadow: 6px 6px 18px #99a4b3;
}
#apiCardsList li:hover a {
	bottom: 20px;
}
/* 分页器 */
#pagination {
	width: 100%;
	padding: 40px;
	box-sizing: border-box;
	/* height: 140px; */
}
#pagination ul {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	margin: 0 auto;
	width: 200px;
}

#pagination ul li {
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	border-radius: 50%;
	font-size: 12px;
	color: #000;
	cursor: pointer;
}
#pagination ul li.active {
	color: #fff;
	background-color: var(--themeColor);
}
/* 尾部 */
#footer {
	width: var(--totalWid);
	height: 330px;
}
/* 上面 */
#footerTop {
	width: 100%;
	height: 290px;
}
/* 左边列表 */
#footerList {
	width: 730px;
}
#footerList li {
	width: 90px;
	height: 200px;
}
#footerTop p a {
	color: #99a4b3;
	line-height: 24px;
}
#footerList h3 {
	line-height: 60px;
}
/* 右边微信二维码 */
#weChat {
	width: 104px;
	text-align: right;
}
#weChat img {
	width: 104px;
	height: 104px;
}
/* 蒙层 */
#mask {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 70;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 20%);
}
#loginModel {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-sizing: border-box;
	padding: 26px 20px;
	width: 400px;
	height: 550px;
	background-color: #ffffff;
}
#loginModel input {
	border: none;
	outline: none;
}
/* logo区 */
#loginModellogo {
	margin: 0 auto;
	margin-bottom: 26px;
	width: 180px;
	height: 50px;
	background: url(../imgs/new-logo-white2.png) no-repeat;
}
/* tab区 */
#loginModelTab {
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	width: 100%;
	height: 40px;
}
#loginModelTab a {
	width: 160px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 16px;
	color: #555555;
}
#loginModelTab a.active {
	position: relative;
	color: var(--themeColor);
}
#loginModelTab a.active::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%);
	display: block;
	content: "";
	width: 30%;
	height: 2px;
	background-color: var(--themeColor);
}
#loginModelTab i {
	width: 1px;
	height: 20px;
	background-color: #eeeeee;
}
#loginUser {
	margin-bottom: 15px;
	line-height: 40px;
	border-bottom: 1px solid #e7e7e7;
}
#loginUser i {
	position: relative;
	top: 4px;
	display: inline-block;
	width: 20px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: 24px 4px;
}
#loginPwd {
	margin-bottom: 15px;
	line-height: 40px;
	border-bottom: 1px solid #e7e7e7;
}
#loginPwd i {
	position: relative;
	top: 4px;
	display: inline-block;
	width: 20px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: 55px 4px;
}
#forgetPwd {
	line-height: 50px;
}
#forgetPwd a {
	color: var(--themeColor);
}
#loginModel #loginForm [type="submit"] {
	width: 100%;
	height: 45px;
	line-height: 45px;
	text-align: center;
	background-color: var(--themeColor);
	color: #fff;
	font-size: 16px;
}
#loginModel #loginForm p:last-child {
	line-height: 50px;
	font-size: 14px;
	color: #909090;
}
#loginModel #loginForm p:last-child a {
	color: var(--themeColor);
}
/* 二维码表单 */
#QRFormweChat {
	text-align: center;
	margin: 0 auto;
	width: 290px;
	height: 240px;
	background-color: #fcfcfc;
	border: 1px solid #eeeeee;
}
#QRFormweChat img {
	margin: 24px auto;
	width: 100px;
	height: 100px;
}
#QRFormweChat p {
	font-size: 12px;
	line-height: 30px;
	color: #000;
}
#loginModel #QRForm > p:last-child {
	line-height: 50px;
	font-size: 14px;
	color: #909090;
}
#loginModel #QRForm > p:last-child a {
	color: var(--themeColor);
}
/* 先清空所有表单form */
#loginModel form {
	display: none;
}
#loginModel form.on {
	display: block;
}
